﻿Imports System.ComponentModel

Public Class UC_CauLacBo
    Implements IDaTa

    Public Sub CapNhat() Implements IDaTa.CapNhat

    End Sub

    Public Sub Them() Implements IDaTa.Them

    End Sub

    Public Sub Xoa() Implements IDaTa.Xoa

    End Sub
    Dim listCauLacBo As New BindingList(Of CAULACBO)

    Sub New()
        Me.Dock = DockStyle.Fill
        ' This call is required by the designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.

    End Sub

    Protected Overrides Sub OnLoad(e As EventArgs)
        MyBase.OnLoad(e)

        Dim context As New LinDataContext
        listCauLacBo = context.CAULACBOs.GetNewBindingList()
        gridCauLacBo.DataSource = listCauLacBo
    End Sub
End Class
